package com.itheima.health.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component//注册bean对象
@ConfigurationProperties(prefix = "alioss")//读取配置文件 并给对象属性赋值
@Data
public class AliOssProperties {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
}
